<!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8">
        <title>{$site_seo_title} {$site_name}</title>
        <meta name="keywords" content="{$site_seo_keywords}" />
        <meta name="description" content="{$site_seo_description}">
        <tc_include file="Public:head" />
        <link href="__TMPL__Public/css/slippry/slippry.css" rel="stylesheet">
        <style>
            .caption-wraper{position: absolute;left:50%;bottom:2em;}
            .caption-wraper .caption{
            position: relative;left:-50%;
            background-color: rgba(0, 0, 0, 0.54);
            padding: 0.4em 1em;
            color:#fff;
            -webkit-border-radius: 1.2em;
            -moz-border-radius: 1.2em;
            -ms-border-radius: 1.2em;
            -o-border-radius: 1.2em;
            border-radius: 1.2em;
            }
            @media (max-width: 767px){
                .sy-box{margin: 12px -20px 0 -20px;}
                .caption-wraper{left:0;bottom: 0.4em;}
                .caption-wraper .caption{
                left: 0;
                padding: 0.2em 0.4em;
                font-size: 0.92em;
                -webkit-border-radius: 0;
                -moz-border-radius: 0;
                -ms-border-radius: 0;
                -o-border-radius: 0;
                border-radius: 0;}
            }

        </style>
    </head>
<body class="body-white">
<tc_include file="Public:header" />
    <div id="body">
        <div class="main">
            <div class="photo">
                <img src="__TMPL__/Public/images/main-img.jpg">
            </div>
            <div class="content">
                <div class="content1">
                    <php>
                        $homelinks=sp_sql_posts("cid:5;field:post_title,post_excerpt,tid,smeta;order:listorder asc;limit:3;");
                    </php>
                    <foreach name="homelinks" item="vo">
                        <span class="col-md-6">
                            <!--<span class="glyphicon glyphicon-th-list"></span>-->
                            <img src="__TMPL__/Public/images/phone.png" align="middle">
                            <a href="{:leuu('article/index',array('id'=>$vo['tid'],'cid'=>$vo['term_id']))}">{$vo.post_title}</a>
                        </span>
                    </foreach>
                </div>
                <div class="content-main">
                    <div class="content2">
                        <div class="content2-ph">
                            <img src="__TMPL__/Public/images/logo.png">
                        </div>
                        <div class="search">
                            <p class="search-text">请输入关键字搜索你想要的事务信息</p>
                            <form method="post" class="form-inline" action="{:U('portal/search/index')}">
                                <input type="text" class="form-input" placeholder="Search" name="keyword" value="">
                                <input type="submit" class="btn btn-info" value="搜索">
                            </form>
                        </div>
                    </div>
                    <div class="content3">
                        <!--<span class="glyphicon glyphicon-comment"></span>-->
                        <img class="icon" src="__TMPL__/Public/images/talk.png" align="middle">
                        <span class="tong">通知公告</span>
                        <div class="message-title">
                            <span class="number">序号</span>
                            <span class="topic">通知主题</span>
                            <span class="time">时间</span>
                        </div>
                        <div class="message">
                            <php>
                                $lastnews=sp_sql_posts("cid:3;field:post_title,post_excerpt,tid,smeta;order:listorder desc;limit:4;");
                            </php>
                            <div class="message-in">
                                <foreach name="lastnews" item="vo">
                                <php>$smeta=json_decode($vo['smeta'],true);</php>
                                <dd class="item">
                                    <span class="number">{$vo['tid']}</span>
                                    <span class="topic">{$vo.post_title}</span>
                                    <span class="time">2016-4-30</span>
                                    <span calss="in">
                                        <a href="{:leuu('article/index',array('id'=>$vo['tid'],'cid'=>$vo['term_id']))}">查看</a>
                                    </span>
                                </dd>
                                </foreach>
                                    <div class="more-new">
                                        <a href="{:U('portal/list/index',array('id'=>3))}">更多>></a>
                                    </div>
                            </div>
                        </div>
                    </div>
                    <div class="content4">
                        <!--<span class="glyphicon glyphicon-move">-->
                        <img class="icon" src="__TMPL__/Public/images/guide.png" align="middle">
                        <span class="tong2">常用查询</span>
                        <div class="row">
                            <php>
                                $common_query_links=sp_sql_posts("cid:4;field:post_title,post_excerpt,tid,smeta;order:listorder desc;limit:12;");
                            </php>
                            <foreach clss="query_links" name="common_query_links" item="vo">
                                <div class="span2">
                                    <a href="{:leuu('article/index',array('id'=>$vo['tid'],'cid'=>$vo['term_id']))}">{$vo.post_title}</a>
                                </div>
                            </foreach>
                            <div class="more-new">
                                <a href="{:U('portal/list/index',array('id'=>4))}">更多>></a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<tc_include file="Public:footer"/>
<tc_include file="Public:scripts"/>
<script src="__TMPL__Public/js/slippry.min.js"></script>
{:hook('footer_end')}
</body>
</html>
